<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-borrowName" class="control-label col-xs-12 col-sm-2">{:__('BorrowName')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-borrowName" class="form-control" name="row[borrowName]" type="text" value="{$row.borrowName}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-apr" class="control-label col-xs-12 col-sm-2">{:__('Apr')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-apr" class="form-control" step="0.01" name="row[apr]" type="number" value="{$row.apr}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-interest" class="control-label col-xs-12 col-sm-2">{:__('Interest')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-interest" class="form-control" step="0.01" name="row[interest]" type="number" value="{$row.interest}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-addTime" class="control-label col-xs-12 col-sm-2">{:__('AddTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-addTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[addTime]" type="text" value="{$row.addTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-fullTime" class="control-label col-xs-12 col-sm-2">{:__('FullTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fullTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[fullTime]" type="text" value="{$row.fullTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-repayTime" class="control-label col-xs-12 col-sm-2">{:__('RepayTime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-repayTime" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[repayTime]" type="text" value="{$row.repayTime|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-account" class="control-label col-xs-12 col-sm-2">{:__('Account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-account" class="form-control" step="0.01" name="row[account]" type="number" value="{$row.account}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-raiseAccount" class="control-label col-xs-12 col-sm-2">{:__('RaiseAccount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-raiseAccount" data-rule="required" class="form-control" step="0.01" name="row[raiseAccount]" type="number" value="{$row.raiseAccount}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('Money')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" class="form-control" step="0.01" name="row[money]" type="number" value="{$row.money}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-status" data-rule="required" class="form-control" name="row[status]" type="number" value="{$row.status}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-time" class="control-label col-xs-12 col-sm-2">{:__('Time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[time]" type="text" value="{$row.time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-borrowItem" class="control-label col-xs-12 col-sm-2">{:__('BorrowItem')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-borrowItem" data-rule="required" class="form-control" name="row[borrowItem]" type="text" value="{$row.borrowItem}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-validDay" class="control-label col-xs-12 col-sm-2">{:__('ValidDay')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-validDay" class="form-control" name="row[validDay]" type="number" value="{$row.validDay}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
